import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
{
 path: '/',
 redirect: "/film"
},
{
 path: '/film',
 name: 'film',
 component: () => import(/* webpackChunkName: "about" */ '../views/myFilm.vue')
},
{
 path: '/cinema',
 name: 'cinema',
 component: () => import(/* webpackChunkName: "about" */ '../views/myCinma.vue')
},
{
 path: '/news',
 name: 'news',
 component: () => import(/* webpackChunkName: "about" */ '../views/myNews.vue')
},
{
 path: '/center',
 name: 'center',
 component: () => import(/* webpackChunkName: "about" */ '../views/myCenter.vue')
}
]
const router = createRouter({
history: createWebHistory(process.env.BASE_URL),
routes
})
export default router